
<form id="form_add">
<table>
	<tr>
		<td width="20%" align="right">名称：</td>
		<td width="30%"><input type="text" name="name" value="订购合同" size="20"></td>
		<td width="20%" align="right">交货日期：</td>
		<td width="30%"><input type="text" name="date" id="date" size="10" value="{[$t1|date_format:'%Y-%m-%d']}"></td>
	</tr>
	<tr>
		<td align="right">客户：</td>
		<td><select name='customer' id='customer'>
			{[html_options options=$tecmold_option selected=-]}
		</select> <a href="javascript:void(0)"
			id="customer_x" onclick="Common.toggle(this, '#label_linkman_a')(this)" class="ui-icon ui-icon-circle-triangle-w"
			style="display: inline-table"></a></td>
		<td align="right">采购员：</td>
		<td><input type="text" name="emp" id="emp" size="12" value="{[$smarty.session.id]}:{[$smarty.session.name]}" title="{[$t.emp_|emp:'采购员']}"> <input
			type="checkbox" name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}" checked> 自己</td>
	</tr>
	<tr id="label_linkman_a">
		<td></td>
		<td colspan="3">{[include file="contact/customer/_linkman.tpl"]}</td>
	</tr>
	<tr>
		<td align="right">交货地点：</td>
		<td colspan="3"><textarea rows="2" name="address" id="address" cols="55">沙井镇步涌同富裕工业区A-5地块B3栋</textarea> <select name='address_t'
			id='address_t'>
			{[html_options options=$address_option selected=-]}
		</select></td>
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="2" name="content" id="content" cols="55"></textarea></td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/material/in/purchase/add.js?r={[$smarty.now]}"></script>
